package com.ftg.learn.comm.entity.question;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.learn.base.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 选项表 用来生成题目的选项
 * </p>
 *
 * @author kangjx
 * @since 2022-11-13
 */
@SuppressWarnings("all")
@TableName("question_stem_detail")
public class StemDetail extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题干编号，关联题干主表
     */
    private Integer stemId;

    /**
     * 选项内容
     */
    private String detailContext;

    /**
     * 是否为正确答案
     */
    private Byte isRight;

    public Integer getStemId() {
        return stemId;
    }

    public void setStemId(Integer stemId) {
        this.stemId = stemId;
    }

    public String getDetailContext() {
        return detailContext;
    }

    public void setDetailContext(String detailContext) {
        this.detailContext = detailContext;
    }

    public Byte getIsRight() {
        return isRight;
    }

    public void setIsRight(Byte isRight) {
        this.isRight = isRight;
    }

    @Override
    public String toString() {
        return "StemDetail{" +
            ", stemId = " + stemId +
            ", detailContext = " + detailContext +
            ", isRight = " + isRight +
        "}";
    }
}
